Class PKIExceptionMapper

java.lang.Object
org.dogtagpki.server.rest.v1.PKIExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<PKIException>

@Provider public class PKIExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<PKIException>
  • Field Details

    • logger

      public static org.slf4j.Logger logger
  • Constructor Details

    • PKIExceptionMapper

      public PKIExceptionMapper()
  • Method Details

    • toResponse

      public javax.ws.rs.core.Response toResponse(PKIException exception)
      Specified by:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<PKIException>